package com.lovo.project2.service;

import com.lovo.project2.bean.SaleCartBean;
import com.lovo.project2.bean.SaleDetailsBean;

import java.util.List;

public interface ISaleCartService {
    //根据销售对象的id 查询销售对象的购物车所有商品
    List<SaleCartBean> queryAllSaleCartBeanBySaleId(int saleId);
    //根据销售车id删除销售车对象
    void removeSaleCart(int saleCartId);
    //添加销售车对象
    void addSaleCartBean(SaleCartBean saleCartBean);
    //修改购物车的销售数量
    void updateSaleCartBean(int salaCardId,int numb);
    //根据用户id清除销售车
    void delectUserIdCart(int userId);


}
